﻿#pragma warning disable 649    // disable compiler warnings about unassigned fields

namespace Magalie.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.Web.Ria;
    using System.Web.Ria.Data;
    using System.Web.DomainServices;
    using System.Data;


    // The MetadataTypeAttribute identifies EmployeeMetadata as the class
    // that carries additional metadata for the Employee class.
    [MetadataTypeAttribute(typeof(Employee.EmployeeMetadata))]
    public partial class Employee
    {

        // This class allows you to attach custom attributes to properties
        // of the Employee class.
        //
        // For example, the following marks the Xyz property as a
        // required field and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz;
        internal sealed class EmployeeMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private EmployeeMetadata()
            {
            }

            public DateTime BirthDate;

            public int BusinessEntityID;

            public bool CurrentFlag;

            public EntityState EntityState;

            public string Gender;

            public DateTime HireDate;

            public string JobTitle;

            public string LoginID;

            public string MaritalStatus;

            public DateTime ModifiedDate;

            public string NationalIDNumber;

            public Nullable<short> OrganizationLevel;

            public Guid rowguid;

            public bool SalariedFlag;

            public short SickLeaveHours;

            public short VacationHours;
        }
    }
}

#pragma warning restore 649    // re-enable compiler warnings about unassigned fields
